<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="common/head :: htmlhead">
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">基本信息</div>
                <div class="layui-card-body">
                    <div class="layui-form" wid100 lay-filter="">
                        <div class="layui-form-item">
                            <label class="layui-form-label">用户名：</label>
                            <div class="layui-input-inline">
                                <label class="layui-form-label" th:text="${user.username}"></label>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">用户类型：</label>
                            <div class="layui-input-inline">
                                <div th:switch="${user.usertype}">
                                    <label class="layui-form-label" th:case="0">管理员</label>
                                    <label class="layui-form-label" th:case="1">博物馆会员</label>
                                    <label class="layui-form-label" th:case="2">个人会员</label>
                                    <label class="layui-form-label" th:case="3">其他团体会员</label>
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">用户状态：</label>
                            <div class="layui-input-inline">
                                <div th:switch="${user.checkstatus}">
                                    <label class="layui-form-label"  th:case="-1">审核未通过</label>
                                    <label class="layui-form-label"  th:case="0">未上传审核文件</label>
                                    <label class="layui-form-label"  th:case="1">待审核</label>
                                    <label class="layui-form-label"  th:case="2">审核通过，未完善信息</label>
                                    <label class="layui-form-label"  th:case="3">正常</label>
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">注册时间：</label>
                            <div class="layui-input-inline">
                                <label class="layui-form-label" th:text="${#dates.format(user.creattime,'yyyy-MM-dd')}"></label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>